export interface imgATTObject{
    attachmentId?:string//文件id，返回的时候才有
    url:string,//附件地址
    name:string,//附件名称
    size:number,//附件大小，单位（bit）
    type:number,//附件类型，1/文件；2/图片，3/音频，4/视频；5/其他
    orderNum:number//排序序号
    preView?:boolean//判断是否下载了
}

export interface IndexState{
    noticeData?:any
    noticeId?:string
    noticeStatus?:number//发布状态，-1未发布，1已发布，0已结束
    // taskReleaseId?:string|undefined
    timeType?:0|1//是否是定时消息,0否，1是
    status:0|1//读取状态：0/未读；1/已读
    imgATTArr?:imgATTObject[]
    fileATTArr?:imgATTObject[]
    isPopCheckOpen:boolean
    receiverGroup?:receiverGroup
    //储存页数数组
    pageNumArr:number[]

    //是否已读信息列表
    teachers?:personObj[]
    students?:personObj[]
    departments?:personObj[]
    identities?:personObj[]
    persons?:personObj[]
    parents?:personObj[]
    grades?:personObj[]
    classes?:personObj[]
}

interface personObj{
    photoPath:string
    userId:string
    userName:string
}


interface receiverGroup{
    teachers?:any[]
    students?:any[]
    departments?:any[]
    identities?:any[]
    persons?:any[]
    parents?:any[]

    grades?:any[]
    classes?:any[]
}